<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>练习</title>
    <style>
      div {
        width: 600px;
        height: 600px;
        border: solid;
        margin: 50px auto;
      }
      main {
        width: 250px;
        height: 300px;
        border: solid;
        overflow: hidden;
      }
      section {
        width: 250px;
        height: 300px;
        background-image: url(../day9/child.gif);
        background-repeat: no-repeat;
        transition: 1s;
      }
      div:hover section {
        transform: scale(1.5);
      }
    </style>
  </head>
  <body>
    <div>
      <main><section></section></main>
    </div>
  </body>
</html>
